@import '../../common/scss/base.scss';
page{
  background-color:rgb(247,247,247);
  font-family:PingFangSC-Regular;
  .mar-top{
    margin-top: 10rpx!important;
  }
  .logo-title{
    display:flex;
    align-items:center;
    .logo{
      width: 40rpx;
      height: 40rpx;
    }
    view{
      font-size: 24rpx;
      color: #353535!important;
      margin-left: 20rpx;
    }
  }
  .has-no-order{
    font-size:32rpx;
    text-align:center;
    margin-top: 240rpx;
    color:#B2B2B2;
    image{
      width: 360rpx;
      height: 360rpx;
    }
    .top-text{
      font-size: 34rpx;
      color: #000000;
    }
    .bottom-text{
      font-size: 24rpx!important;
      color: #888888!important;
      margin-top: 10rpx;
    }
  }
  .my-order{
    width: 100%;
    height: 84rpx;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 30rpx;
    background-color: white;
    box-shadow: 2px 2px 2px #eeeeee;
    // position: sticky;
    padding-right:10rpx;
    box-sizing:border-box;
    position: fixed;
    top: 0;
    z-index:10;
    .order-state {
      width: 150rpx;
    }
    view{
      font-size:30rpx;
      height: 100%;
      font-weight:400;
      line-height:30rpx;
      display: flex;
      justify-content: center;
      align-items: center;
      color: black;
      border-bottom: 4rpx solid transparent; 
    }
    .order-state-color{
      color:$red-color;
      border-bottom: 4rpx solid $red-color
    }
  }
  .my-order-list{
    padding:20rpx 20rpx 0;
    .my-order-goods{
      background-color: #ffffff;
      width: 710rpx;
      border-radius:20rpx;
      box-sizing: border-box;
      // padding:0 20rpx 18rpx;
      // padding-bottom: 18rpx;
      .status{
        font-weight:600;
      }
      .my-order-state{
        font-size:28rpx;
        font-weight:400;
        color:#353535;
        line-height:40rpx;
        display:flex;
        align-items:center;
        justify-content:space-between;
        height:80rpx;
        padding:0 20rpx;
        background-color: #ffffff;
        border-top-left-radius: 20rpx;
        border-top-right-radius: 20rpx;
        view:nth-child(2){
          font-size:28rpx;
          color:#000000;
        }
        .native-color{
          color: #888888!important;
        }
        .status-realy{
          color: #D0021B!important;
          font-weight: 600!important;
          .relay-defeat{
            color: #888888;
          }
          .relay-suc{
            color: #000000;
          }
        }
      }
    }
    .order-good-img{
      display: flex;
      padding:20rpx;
      background-color: #f5f5f7;
      height:200rpx;
      box-sizing:border-box;
      // border-top:2rpx solid #f2f2f2;
      image{
        width:160rpx;
        height:160rpx;
        border-radius:8rpx;
      }
      .order-title{
        view{
          width: 307rpx;
          overflow: hidden;
          display: -webkit-box;
          /* autoprefixer: off */
          -webkit-box-orient: vertical;
          /* autoprefixer: on */
          -webkit-line-clamp: 2;
          font-size:26rpx;
          color:rgb(53,53,53);
          margin-left: 20rpx;
        }
        .good-color{
          font-size:24rpx;
          font-weight:400;
          color:rgb(178,178,178);
          line-height:36rpx;
          margin-top: 12rpx
        }
      }
      .order-money{
        width: 186rpx;
        overflow: hidden;
        font-size: 28rpx;
        text-align:right;
        font-weight:400;
        line-height:44rpx;
        .o-money{
          color:#000000;
          view{
            display: inline-block;
          }
          .o-money-icon{
            font-size: 20rpx;
          }
          .o-money-text{
            font-size: 28rpx;
          }
        }
        .o-number{
          color:#b4b4b4;
          line-height:36rpx;
          font-size:24rpx;
          margin:2rpx 0 12rpx;
        }
        .goods-earn{
          display:flex;
          justify-content:flex-end;
          color: $red-color;
          font-size: 28rpx;
          view:nth-child(1){
            margin-right: 4rpx;
          }
        }
      }
    }
    .order-good-total{
      font-size:24rpx;
      font-family:PingFangSC-Regular;
      font-weight:400;
      color:rgb(53, 53, 53);
      line-height:34rpx;
      padding-left:20rpx;
      text-align:right;
      margin:20rpx 0;
      padding:0 20rpx;
      view{
        display: inline-block;
      }
      .total-money{
        font-size: 36rpx;
        font-weight:600;
      }
    }
    .order-statel-btn{
      width:100%;
      height: 92rpx;
      // line-height:92rpx;
      text-align:right;
      padding:0 20rpx;
      box-sizing:border-box;
      display:flex;
      align-items:center;
      justify-content:flex-end;
      border-top:2rpx solid #f2f2f2;
      border-radius:4rpx;
      button{
        background-color: transparent;
      }
      view,button{
        font-size:28rpx;
        font-family:PingFangSC-Regular;
        font-weight:400;
        color:rgb(53, 53, 53);
        line-height:40rpx;
        padding:8rpx 28rpx;
        border:2rpx solid #d6d6d6;
        display:inline-block;
        border-radius:42rpx;
        margin-right: 20rpx
      }
      view{
      &:last-child{
        color:#ffffff;
        background-color: rgb(208,2,27);
        border: 1rpx solid rgb(208,2,27);
        margin-right: 0;
      }
    }
      #colse-order{
        font-size:28rpx;
        font-family:PingFangSC-Regular;
        font-weight:400;
        color:rgb(53, 53, 53);
        line-height:40rpx;
        padding:8rpx 28rpx;
        border:2rpx solid #d6d6d6;
        display:inline-block;
        border-radius:42rpx;
        background-color: #ffffff;
      }
    }
    .order-relay-btn{
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding: 0 20rpx;
      padding-left: 24rpx;
      border-top: 2rpx solid #f2f2f2;
      height: 92rpx;
      border-radius: 4rpx;
      .relay-make-money {
        text{
          font-weight: 600;
        }
        &:first-child{
          font-size: 32rpx;
          color: #D0021B;
        }
      }
      .relay-button{
        display:flex;
        align-items:center;
        .relay-cancel {
          font-size:28rpx;
          font-family: PingFangSC-Regular;
          font-weight: 400;
          color: rgb(53, 53, 53);
          line-height: 40rpx;
          padding: 8rpx 28rpx;
          border: 2rpx solid #d6d6d6;
          display: inline-block;
          border-radius: 42rpx;
          margin-right: 20rpx
        }
        .relay-detail {
          width: 174rpx;
          height: 56rpx;
          font-size: 28rpx;
          background-color: #D0021B;
          color: #ffffff;
          text-align: center;
          border-radius: 30rpx;
          line-height: 56rpx;
        }
      }
    }
  }
  .button-group {
    height:80rpx;
  }
}